package isanfeng.tuxiaoer.principle.demeter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 李红辉
 * @version 1.0
 * @date 2019/8/27 17:14
 */
public class Boss {
    public void commandCheckNumber(TeamLeader teamLeader) {
        List<Course> courseList = new ArrayList<>();
        for (int i = 0; i < 20; i++) {
            courseList.add(new Course());
        }
        teamLeader.checkNumberOfCourseList(courseList);

    }
}
